#ifndef TI_H
#define TI_H
#include <cstdlib>
#include <iostream>
#include <vector>
#include <cmath>
#include <gdal/cpl_conv.h>
#include <gdal/ogrsf_frmts.h>
#include "KDindex.h"
using namespace std;

typedef struct {
    int length, width, NR_variable;
    float *data;
} train_grid_cont;

void read_image_cont(float ** ti, char *file, int &length, int &width, int &NR_variable);

#endif                            /* ifndef TI_H */
